package com.woniu.apartment.mapper;

import java.util.List;
import com.woniu.apartment.domain.ApartmentExt;

/**
 * 公寓详情Mapper接口
 * 
 * @author yy
 * @date 2023-04-03
 */
public interface ApartmentExtMapper 
{
    /**
     * 查询公寓详情
     * 
     * @param apartmentId 公寓详情主键
     * @return 公寓详情
     */
    public ApartmentExt selectApartmentExtByApartmentId(Long apartmentId);

    /**
     * 查询公寓详情列表
     * 
     * @param apartmentExt 公寓详情
     * @return 公寓详情集合
     */
    public List<ApartmentExt> selectApartmentExtList(ApartmentExt apartmentExt);

    /**
     * 新增公寓详情
     * 
     * @param apartmentExt 公寓详情
     * @return 结果
     */
    public int insertApartmentExt(ApartmentExt apartmentExt);

    /**
     * 修改公寓详情
     * 
     * @param apartmentExt 公寓详情
     * @return 结果
     */
    public int updateApartmentExt(ApartmentExt apartmentExt);

    /**
     * 删除公寓详情
     * 
     * @param apartmentId 公寓详情主键
     * @return 结果
     */
    public int deleteApartmentExtByApartmentId(Long apartmentId);

    /**
     * 批量删除公寓详情
     * 
     * @param apartmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApartmentExtByApartmentIds(Long[] apartmentIds);
}
